<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>患者全景视图</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f5f7fa;
            color: #333;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        .header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            border-bottom: 1px solid #eaeaea;
            padding-bottom: 15px;
        }
        .patient-photo {
            width: 70px;
            height: 70px;
            background-color: #ddd;
            border-radius: 5px;
            margin-right: 20px;
        }
        .patient-info {
            display: flex;
            flex-wrap: wrap;
            flex-grow: 1;
        }
        .info-item {
            margin-right: 40px;
            margin-bottom: 10px;
        }
        .info-label {
            font-size: 12px;
            color: #666;
            margin-bottom: 5px;
        }
        .info-value {
            font-size: 14px;
            font-weight: bold;
        }
        .button {
            background-color: #1e65f7;
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }
        .card {
            background-color: white;
            border-radius: 5px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            margin-bottom: 20px;
            overflow: hidden;
        }
        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #eaeaea;
        }
        .card-title {
            font-weight: bold;
            font-size: 16px;
        }
        .card-body {
            padding: 15px;
        }
        .record-item {
            border-bottom: 1px solid #eaeaea;
            padding: 10px 0;
        }
        .record-date {
            font-size: 12px;
            color: #666;
            margin-bottom: 5px;
        }
        .record-content {
            font-size: 14px;
        }
        .chart {
            height: 200px;
            margin: 15px 0;
            background-color: #f9f9f9;
            border: 1px solid #eaeaea;
            border-radius: 4px;
        }
        .row {
            display: flex;
            margin: 0 -10px;
        }
        .col {
            flex: 1;
            padding: 0 10px;
        }
        .tag {
            display: inline-block;
            background-color: #e6f3ff;
            color: #1e65f7;
            padding: 2px 8px;
            border-radius: 2px;
            font-size: 12px;
            margin-right: 5px;
        }
        .appointment {
            background-color: #f0f8ff;
            padding: 10px 15px;
            border-radius: 4px;
            margin-bottom: 10px;
        }
        .appointment-time {
            font-weight: bold;
            margin-bottom: 5px;
        }
        .status {
            display: inline-block;
            color: #00a854;
            font-size: 12px;
            margin-left: 10px;
        }
    </style>
</head>
<body>
<div class="container">
    <h2>患者全景视图</h2>

    <div class="header">
        <div class="patient-photo"></div>
        <div class="patient-info">
            <div class="info-item">
                <div class="info-label">姓名</div>
                <div class="info-value">张珺珺 <span class="tag">就诊中</span></div>
            </div>
            <div class="info-item">
                <div class="info-label">性别</div>
                <div class="info-value">男</div>
            </div>
            <div class="info-item">
                <div class="info-label">年龄</div>
                <div class="info-value">52岁</div>
            </div>
            <div class="info-item">
                <div class="info-label">病历号</div>
                <div class="info-value">20231204001</div>
            </div>
            <div class="info-item">
                <div class="info-label">联系电话</div>
                <div class="info-value">13877795978</div>
            </div>
        </div>
    </div>

    <button class="button">病史记录表</button>

    <div class="row" style="margin-top: 20px;">
        <div class="col">
            <div class="card">
                <div class="card-header">
                    <div class="card-title">随访记录</div>
                    <div>...</div>
                </div>
                <div class="card-body">
                    <div class="record-item">
                        <div class="record-date">2023-12-05</div>
                        <div class="record-content">
                            <b>首次就诊</b>
                            <p>咽喉不适持续两周，盗汗明显4kg/week</p>
                        </div>
                    </div>
                    <div class="record-item">
                        <div class="record-date">2023-11-25</div>
                        <div class="record-content">
                            <b>急诊就医</b>
                            <p>发热夜间发热高达，口腔、咽喉疼痛</p>
                        </div>
                    </div>
                    <div class="record-item">
                        <div class="record-date">2023-10-14</div>
                        <div class="record-content">
                            <b>复诊就医</b>
                            <p>感冒症状缓解，体力恢复正常</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="col">
            <div class="card">
                <div class="card-header">
                    <div class="card-title">影像检查结果</div>
                    <div>...</div>
                </div>
                <div class="card-body">
                    <div class="record-item">
                        <div class="record-content">
                            <b>CT</b>
                            <div style="text-align: right;">2025-01-01</div>
                            <p>未见明显异常</p>
                        </div>
                    </div>
                    <div class="record-item">
                        <div class="record-content">
                            <b>骨密度</b>
                            <div style="text-align: right;">2024-01-01</div>
                            <p>未见明显异常</p>
                        </div>
                    </div>
                    <div class="record-content">
                        <b>血压</b>
                    </div>
                    <div class="chart">
                        <!-- 血压图表 -->
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col">
            <div class="card">
                <div class="card-header">
                    <div class="card-title">实验室检验结果</div>
                    <div>...</div>
                </div>
                <div class="card-body">
                    <div class="chart">
                        <!-- 实验室检验结果图表 -->
                    </div>
                    <div class="record-content">
                        <b>血红蛋白值</b>
                        <div style="display: flex; justify-content: space-between;">
                            <span>2023-12-06</span>
                            <span>5.98 mmol/L <span style="color: orange;">偏高</span></span>
                        </div>
                    </div>
                    <div class="record-content">
                        <b>胆固</b>
                        <div style="display: flex; justify-content: space-between;">
                            <span>2023-12-06</span>
                            <span>207 µmol/L <span style="color: orange;">偏高</span></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="col">
            <div class="card">
                <div class="card-header">
                    <div class="card-title">随访计划</div>
                    <div>...</div>
                </div>
                <div class="card-body">
                    <div class="appointment">
                        <div class="appointment-time">下次随访日期：</div>
                        <div>2024年1月3日 上午 9:30</div>
                    </div>

                    <div class="record-item">
                        <div style="display: flex; justify-content: space-between;">
                            <span>2023-12-05</span>
                            <span class="status">已完成</span>
                        </div>
                        <div class="record-content">血常规检、肝肾功能检查</div>
                    </div>

                    <div class="record-item">
                        <div style="display: flex; justify-content: space-between;">
                            <span>2023-11-20</span>
                            <span class="status">已完成</span>
                        </div>
                        <div class="record-content">复查降压用药，复查血压</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
